package cn.jinjimi.framework.analy;

import android.app.Activity;
import android.content.Context;

import java.util.Map;

/**
 * Created by Roy
 * Date: 15/12/16
 */
public final class AnalyManager {

    private static AnalyManager instance;

    public static AnalyManager getInstance() {
        if (instance == null) {
            instance = new AnalyManager();
        }
        return instance;
    }

    private AnalyManager() {

    }

    public void initAnaly(Context context) {
        /* 初始化友盟统计设置 */


    }

    public void onAnalyResume(Activity activity) {

    }

    public void onAnalyPause(Activity activity) {

    }

    public void onXRKAnalyExit() {

    }

    public void report(Context context, String event, Map<String,String> params){

    }


    /** 向日葵统计SDK 事件统计
     *
     * @param context
     * @param eventId
     */
    public void Event(Context context, final String eventId) {

    }

    public void Event(Context context, final String eventId, final Map<String, String> params) {

    }

    public void Event(Context context, final String eventId, final Map<String, String> params, final boolean directSend) {

    }

    public void Event(String eventId) {

    }

    public void Event(String eventId, Map<String, String> params) {

    }

}
